package server;

public class User {

	private int oprID;
	private String oprNavn;
	private int cpr;
	private String pass;
	private int ini;
	
	public User (int oprID, String oprNavn, int cpr, String pass, int ini) {
		this.oprID = oprID;
		this.oprNavn= oprNavn;
		this.cpr =cpr;
		this.pass= pass;
		this.ini=ini;
	}
	
	public int getoprID() {
		return this.oprID ;
	}
	
	public String getpass() {
		return this.pass;
	}
	
	public String getoprNavn() {
		return this.oprNavn;
	}
	
	public int getcpr() {
		return this.cpr;
	}
	
	public int getini() {
		return this.ini;
	}
	
	public boolean isAdmin() {
		if (this.oprID == 10) {
			return true;
		}
		return false;
	}
}
